/*******************************************************************************
* Project: QSAR(Cute Software Architecture)
*
* Copyright: Copyright(C) 2024 by YuetingBen, All Rights Reserved
*
* File name: CanNmCfg.c
*
* Brief: ;
*
* Author: Yueting.Ben
*
* Module: CanNm
*
*******************************************************************************/

/** HEADER FILES **/
#include "CanNmCfg.h"


/** MACRO DEFINITION **/


/** TYPEDEF DEFINITION **/


/** LOCAL DATA DECLARATION **/


/** LOCAL DATA **/
const CanNmTxPduType CanNmTxPduConfig[ComStackConf_NetworkHandleId_Max] = 
{
    /* CanNmTxPduRef                                                  CanNmTxConfirmationPduId,             LowLayerPduId */
    {(PduType*)&Pdu[ComStackConf_PduId_Tx_Channel1_Qsar_Qsar_NM],         CanNmConf_PduHandleId_CanNm_Tx_Max,   CanIfConf_CanIfTxPduCfg_Pdu_Channel1_Qsar_Qsar_NM}
};


const CanNmChannelConfigType CanNmChannelConfig[ComStackConf_NetworkHandleId_Max] = 
{
    /* Network management Channel 0 */
    {
        0u, /* ReducedTime */
        2000u, /* MsgTimeoutTime */
        500u, /* CycleTime */
        0u, /* RemoteSleepIndTime */
        1500u, /* RepeatMessageTime */
        2000u, /* WaitBusSleepTime */
        2000u, /* TimeoutTime */
        20u, /* ImmediateNmCycleTime */
        CANNM_PDU_BYTE_0, /* PduNidPosition */
        CANNM_PDU_BYTE_1, /* PduCbvPosition */
        0u, /* CarWakeUpBitPosition */
        0u, /* CarWakeUpBytePosition */
        0u, /* CarWakeUpFilterNodeId */
        20u, /* ImmediateNmTransmissions */
        0u, /* RepeatMsgIndEnabled */
        0x12, /* CanNmNodeId */
        (CanNmTxPduType*)&CanNmTxPduConfig[ComStackConf_NetworkHandleId_0] /* TxPduRef */
    }
};

const CanNm_ConfigType CanNm_Config = 
{
    0x00
};
